import java.util.Date;

class webPage{
    private String url;
    private Integer visitCount;
    private Date lastVisitTime;
    public webPage(String uel){
        this.url = uel;
        this.visitCount = 0;
        this.lastVisitTime = null;
    }
    public String getUrl(){
        return url;
    }
    public Integer getVisitCount(){
        return visitCount;
    }
    public Date getLastVisitTime(){
        return lastVisitTime;
    }
    public void visitPage(){
        this.visitCount++;
        this.lastVisitTime = new Date();
    }
    public void resetVisitCount(){
        this.visitCount = 0;
        this.lastVisitTime = null;
    }
}